import { makeAutoObservable } from 'mobx';

export class UserEntity {
  _initialized = false;
  id = -1;
  name = '';
  color = '#ffffff';

  constructor(param?: UserEntity) {
    makeAutoObservable(this);
    if (param) {
      Object.assign(this, param);
    }
  }
}
